#pragma once

#include "cvxImage.h"
#include "paintwnd.h"


class CQPContrlPanel;
// CQuadPaint dialog

class CQuadPaint : public CDialog
{
	DECLARE_DYNAMIC(CQuadPaint)

public:
	CQuadPaint(CWnd* pParent = NULL);   // standard constructor
	virtual ~CQuadPaint();

// Dialog Data
	enum { IDD = IDD_QUADPAINT };

	void setImage(const Mat &img);
	

	//added
private:

public:
	CQPContrlPanel * m_controlPanel;  //control panel used to set control parameters	
	CPaintWnd m_paintWnd;    // main control window, has a point to m_controlPanel;
protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL OnInitDialog();

	//
	void showControlPanel();
	
};
